package com.social.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.social.pojo.Activity;
import com.social.pojo.Result;
import com.social.pojo.vto.ActivityVTO;

/**
 * @className: ActivityService
 * @description: TODO 类描述
 * @author: XiaoXu
 * @date: 2022/10/09 19:15
 **/
public interface ActivityService extends IService<Activity> {
    Result insert(Activity activity);

    Result getActivityById(Long id);

    Result updateActivity(Activity activity);

    Result getActivityByCondition(ActivityVTO activityVTO);

    Result getAllList(ActivityVTO activityVTO);

    Result getDetail(Long id);

    Result getRanking(Integer size, Integer index);

    Result getPhotos(Integer size, Integer index);
}
